package com.huanf.impl;

import com.huanf.service.GroupService;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @author: 35238
 * 功能: 接口和实现类之间，如何分组。使用场景: 例如GroupService接口有多个实现类时
 * 时间: 2023-12-30 15:23
 */
@DubboService(group = "group2")
public class Group2ServiceImpl implements GroupService {

    @Override
    public String group(String msg) {
        return msg +"分组2，我是分组2";
    }

}
